<head>
  <link href="https://cdn.bootcss.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" rel="stylesheet">
  <script src="https://cdn.bootcss.com/bootstrap/4.0.0-alpha.6/js/bootstrap.js"></script>
</head>
<body class="container">
  <?php foreach ($products as $item) { ?>
  <div>
    INSERT INTO `tp_goods`(goods_sn, goods_name, original_img, shop_price, cost_price, cat_id, brand_id) 
    VALUES (
      "<?php if ($item['goods_sn']) echo $item['goods_sn']; ?>}",
      '{$item.goods_name}', 
      "{$item.original_img}",
      <?php echo number_format(($item['product_price'] + 16 + 1) * 7.5, 2, '.', '') ?>,
      <?php echo number_format(($item['product_price'] + 16 + 1) * 6.8, 2, '.', '') ?>,
      849,357);
  </div>
  <?php } ?>
</body>